package avicit.bdp.oss.utils.stats;

/**
 * @金航数码科技有限责任公司
 * @作者：developer
 * @邮箱：developer@avic-digital.com
 * @创建时间： 2020-11-12
 * @类说明：StorageStats
 * @修改记录：
 * @注意事项：
 * @主要功能：流量参数，包括时间戳、流量值、单位
 */
public class TrafficPara {
    /**
     * 时间戳
     */
    private long stamp;

    /**
     * 流量值
     */
    private double measuredValue;

    /**
     * 单位
     */
    private String unit;

    public TrafficPara() {
    }

    public TrafficPara(long stamp, double measuredValue, String unit) {
        this.stamp = stamp;
        this.measuredValue = measuredValue;
        this.unit = unit;
    }

    public long getStamp() {
        return stamp;
    }

    public double getMeasuredValue() {
        return measuredValue;
    }

    public String getUnit() {
        return unit;
    }

    public void setStamp(long stamp) {
        this.stamp = stamp;
    }

    public void setMeasuredValue(double measuredValue) {
        this.measuredValue = measuredValue;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}
